#include "queue.h"

int main(int argc, char *argv[])
{
    queue *Q = NULL;

    queue_create(&Q);

    queue_push(Q, 100);
    queue_push(Q, 200);
    queue_push(Q, 300);
    queue_push(Q, 400);

    for (int i = 0; i < 20; i++) {
        queue_push(Q, 500 + i);
        printf("pop: %d\n", queue_pop(Q));
    }


    return 0;
}


